<?php
Route::group(['namespace'=>'Admin','prefix'=>'admin','middleware'=>'admin.user'],function(){
	Route::get('index','IndexController@index');

	//用户路由
	Route::resource('user','UserController');

	//栏目路由
	Route::resource('cat','CatController');
});